home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 7
/
BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso
/
Files
/
Prog
/
U-Z
/
Viewer.src.cpt
/
LineFile.h
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1987-12-30
|
417 b
|
23 lines
|
[
TEXT/KAHL
]
/* Header for LineFile object */
#ifndef _LineFile_
#define _LineFile_
enum { LF_Open, LF_GetLine, LF_Close }; /* messages */
#define L_BUFSIZE 512L
typedef struct {
int refnum;
long size;
int pos; /* position in buffer */
int count; /* chars in buffer */
long start; /* first char of buffer */
Handle buf;
} LFile;
/* prototype for entry */
void LineFile( int message, LFile *lfile, ... );
#endif